<include file="Public:header" />
<div class="title"><span>品牌管理 - {$market.name} - {$floor.sain}{$floor.name} </span></div>
<div class="list">
    <a href="{:U('Fbt/floor/id')}/{$floor.id}">品牌类型管理</a>
    <a href="{:U('Floor/market/id')}/{$market.id}">返回</a>
    <div class="add"><a href="{:U('Fb/add/id')}/{$floor.id}">添加品牌</a></div>

    <table>
        <tr>
            <th>编号</th>
            <th>品牌</th>
            <th>品牌类型</th>
            <th>品牌模式</th>
            <th>操作</th>
        </tr>
        <foreach name="fb" item="b" >
            <tr>
                <td>{$b.id}</td>
                <td>{$b.name}</td>
                <td>{$b.tName}</td>
                <td>{$b.model}</td>
                <td>
                    <if condition="$b['model'] eq 1">
                    	<a href="{:U('Fg/brand/id')}/{$b.id}">商品管理</a>|
                    </if>
                    <a href="{:U('BrandNew/fb/id')}/{$b.id}">活动资讯</a>|
                    <a href="{:U('Fb/edit/id')}/{$b.id}">修改类型</a>
                </td>
            </tr>
        </foreach>
    </table>
</div>
<include file="Public:footer" />